package com.yfp.machine.domain.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;

import java.io.Serializable;
import java.util.Date;


/**
 * 货道信息dto
 *
 *
 * @date 2023/12/14
 */
@Schema(title = "货道信息dto")
public class RoadInfoDto implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;
    /**
     * 货道id
     */
    @Schema(title = "货道id")
    private String roadNo;

    /**
     * 套餐id
     */
    @Schema(title = "套餐id")
    private String comboId;

    @Schema(title = "套餐背景图")
    private String comboImg;

    /**
     * 套餐名称
     */
    @Schema(title = "套餐名称")
    private String comboName;

    /**
     * 线上库存
     */
    @Schema(title = "线上库存")
    private String inventory;
    /**
     * 最大库存
     */
    @Schema(title = "最大库存")
    private String capacity;

    /**
     * 上架时间
     */
    @Schema(title = "上架时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date onShelfTime;
    /**
     * 价格
     */
    @Schema(title = "价格")
    private String price;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getComboImg() {
        return comboImg;
    }

    public void setComboImg(String comboImg) {
        this.comboImg = comboImg;
    }

    public String getRoadNo() {
        return roadNo;
    }

    public void setRoadNo(String roadNo) {
        this.roadNo = roadNo;
    }

    public String getComboId() {
        return comboId;
    }

    public void setComboId(String comboId) {
        this.comboId = comboId;
    }

    public String getComboName() {
        return comboName;
    }

    public void setComboName(String comboName) {
        this.comboName = comboName;
    }

    public String getInventory() {
        return inventory;
    }

    public void setInventory(String inventory) {
        this.inventory = inventory;
    }

    public String getCapacity() {
        return capacity;
    }

    public void setCapacity(String capacity) {
        this.capacity = capacity;
    }

    public Date getOnShelfTime() {
        return onShelfTime;
    }

    public void setOnShelfTime(Date onShelfTime) {
        this.onShelfTime = onShelfTime;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }
}
